package com.youi.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.youi.entity.vo.Userorderrecord;

public interface UserorderrecordDao {

	/**
	 * 查询总资金流水报表
	 * @param start 
	 * @param end	
	 * @param merWithStart	
	 * @param merWithEnd
	 * @param platWithStart
	 * @param platWithEnd
	 * @param orderNo
	 * @param merchantPms
	 * @param goodsPms
	 * @param goodsIds
	 * @param phone
	 * @param leaderId
	 * @param receStart
	 * @param receEnd
	 * @param unfreezeStart
	 * @param unfreezeEnd
	 * @param status
	 * @param pageIndex
	 * @param pageNum
	 * @return
	 */
	public List<Userorderrecord> getUserorderrecordList(@Param("merchantId")Long merchantId,@Param("start")String start,@Param("end")String end,@Param("merWithStart")String merWithStart,
			@Param("merWithEnd")String merWithEnd,@Param("platWithStart")String platWithStart,@Param("platWithEnd")String platWithEnd,
			@Param("orderNo")String orderNo,@Param("merchantPms")String merchantPms,@Param("goodsPms")String goodsPms,
			@Param("goodsIds")String goodsIds,@Param("phone")String phone,@Param("leaderId")Long leaderId,@Param("receStart")String receStart,
			@Param("receEnd")String receEnd,@Param("unfreezeStart")String unfreezeStart,@Param("unfreezeEnd")String unfreezeEnd,
			@Param("status")Integer status,@Param("platformStatus")Integer platformStatus,@Param("merchantStatus")Integer merchantStatus,@Param("pageIndex")Integer pageIndex, @Param("pageNum")Integer pageNum);
	
	/**
	 * 查询总资金流水报表总数
	 * @param start
	 * @param end
	 * @param merWithStart
	 * @param merWithEnd
	 * @param platWithStart
	 * @param platWithEnd
	 * @param orderNo
	 * @param merchantPms
	 * @param goodsPms
	 * @param goodsIds
	 * @param phone
	 * @param leaderId
	 * @param receStart
	 * @param receEnd
	 * @param unfreezeStart
	 * @param unfreezeEnd
	 * @param status
	 * @param pageIndex
	 * @param pageNum
	 * @return
	 */
	public Integer getUserorderrecordCount(@Param("merchantId")Long merchantId,@Param("start")String start,@Param("end")String end,@Param("merWithStart")String merWithStart,
			@Param("merWithEnd")String merWithEnd,@Param("platWithStart")String platWithStart,@Param("platWithEnd")String platWithEnd,
			@Param("orderNo")String orderNo,@Param("merchantPms")String merchantPms,@Param("goodsPms")String goodsPms,
			@Param("goodsIds")String goodsIds,@Param("phone")String phone,@Param("leaderId")Long leaderId,@Param("receStart")String receStart,
			@Param("receEnd")String receEnd,@Param("unfreezeStart")String unfreezeStart,@Param("unfreezeEnd")String unfreezeEnd,
			@Param("status")Integer status,@Param("platformStatus")Integer platformStatus,@Param("merchantStatus")Integer merchantStatus);
}
